package cn.edu.sdjzu.xg.eagle.entities;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
@NoArgsConstructor
public class Fees {
    private int feeId;
    private String feeDescription;
    private double feeAmount;
    private boolean isIncome;
    private boolean isExpense;
    private Date reimbursementTime;
    private String report;

    public Fees(String feeDescription, double feeAmount, boolean isIncome,
                boolean isExpense, Date reimbursementTime, String report) {
        this.feeDescription = feeDescription;
        this.feeAmount = feeAmount;
        this.isIncome = isIncome;
        this.isExpense = isExpense;
        this.reimbursementTime = reimbursementTime;
        this.report = report;
    }

    @Override
    public String toString() {
        return "Fees{" +
                "feeId=" + feeId +
                ", feeDescription='" + feeDescription + '\'' +
                ", feeAmount=" + feeAmount +
                ", isIncome=" + isIncome +
                ", isExpense=" + isExpense +
                ", reimbursementTime=" + reimbursementTime +
                ", report='" + report + '\'' +
                '}';
    }
}